{template "content","header_page"}
<div class="bgbody" style="background: url(http://m.nsr.com.cn/resource/uploadfile/column_icon/21.jpg) no-repeat top center;">
	<div class="main">
		<div class="rightbox">
			<div class="tipsearch">
				<div class="topnav">
					<ul>
						<li><a href="/index.php?m=content&c=index&a=lists&catid={$catid}" class="onin">{$CAT['catname']}</a></li>
					</ul>
				</div>	
			</div>
			 <div class="compete-box">
				<div class="content">
					<h2 class="title">{str_cut($info['title'],90)}</h2>
					<p class="date-origin">
						<time>日期：{date('Y-m-d H:i:s',substr($info['updateTime'],0,10))}</time>
						<span>来源：{$info['sourceName']}</span>
					</p>
					<div class="text-all">
						<p>{$info['infoDetail']}</p>
					</div>
					<div class="other-news">
						<p>上一篇：<a href="{$previous_page[url]}">{$previous_page[title]}</a></p>
						<p>下一篇：<a href="{$next_page[url]}">{$next_page[title]}</a></p>
					</div>
					<div class="more-compete" id="more-compete">
						<h3 class="title2">丝路赛事</h3>
						<p class="others">正在加载中...</p> 
					</div>
				</div>
			</div>	
		</div>
	</div>
</div>
<script type="text/javascript">
	function keywords_source() {
		var id = "{$id}";
		var type = "{types}";
		var types = "{$type}";
		$.ajax({
	        type: "POST",
	        url: "index.php?m=content&c=rjson&a=keywords_source",
	        cache: false,
	        dataType:"json",
	        data: {id:id, typeid:type},
	        success: function(result){
	        	$('#more-compete p').remove();
	        	var jsonobj =  result['data']; 
                var _html = '';
                for(key in jsonobj){
                    _html +='<p class="others">》<a href="';
                    _html +='/index.php?m=content&c=index&a=show&type='+types+'&id='+jsonobj[key]['id'];
                    _html +='" target="_blank">';
                    _html +=jsonobj[key]['title'];
                    _html +='</a></p>';
                }
                $(".more-compete").append(_html);  
	        },
	        error: function(){
	          alert('请求服务器失败');
	        }
	    });
	}
	keywords_source();
</script>
{template "content","footer"}
</body>
